package cn.xbtop.blog.mapper;

import cn.xbtop.blog.pojo.User;

import java.util.List;

/**
 * @author  Mxb
 * @date  2020/2/19 15:48
 * @version 1.0
 */
public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKey(User record);

    List<User> findAllUser(User user);
}